package com.nercel.dsj.gksales.model;


import com.nercel.dsj.gksales.shiro.util.ExcelUtil;

import java.util.ArrayList;

public class RowData extends ArrayList<String> {

	public String get(int index){
		if(index < this.size()) {
			return super.get(index);
		}
		return "";
	}

	public String get(String colName){
		int index = ExcelUtil.colName2Index(colName);
		return this.get(index);
	}

}
